
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    
    <script type="text/javascript" async src="/static/js/client.js"></script>
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="/static/css/style.css?v=20161121002">
    <link rel="stylesheet" href="/static/css/app.min.css?v=20161121002">

</head>
<body>
    <!--[if lte IE 8]>
        <div class="m-browsehappy">
            <div class="browsehappy-inner">
                <h3 class="title">对不起！<br>您的浏览器版本太低，请升级你的浏览器</h3>
                <p class="suggest">建议使用：</p>
                <p class="brower">
                    <span class="item">
                        <a class="ie image" href="https://www.microsoft.com/en-us/download/internet-explorer.aspx" target="_blank" title="下载Internet Explorer浏览器"></a>
                        <b class="text">ie9+</b>
                    </span>
                    <span class="item">
                        <a class="chrome image" href="http://www.google.cn/intl/zh-CN/chrome/browser/?spm=1.7274553.0.0.benzR1" target="_blank" title="下载Chrome浏览器"></a>
                        <b class="text">chrome</b>
                    </span>
                </p>
                <b class="browsehappy-arrow"></b>
            </div>
        </div>
        <script>
            window.nonsupportIE = true;
        </script>
    <![endif]-->

<div class="m-wrap">
    <div class="m-page page-chancel ">
        <div class="page-head">
            <div class="container">
                <div class="left">
                    <a class="e-brand" href="/">
                        <img height="30" src="http://www.jingfengjiaoyu.com/newindex/templets/jingfeng_319/picture/log.png" alt="京峰教育">
                    </a>
                    <ul class="m-navg">
    <li class="navg-item">
        <a class="navg-link" href="/help">帮助</a>
    </li>
    <li class="navg-item">
        <a class="navg-link" href="/blog">博客</a>
    </li>
    
</ul>

                </div>
                <div class="right">
                    <span class="auth">
        <a class="link login" href="/user/login">登录</a>
        <a class="link register" href="/user/register">注册</a>
    </span>
                    </div>
                <button type="button" class="m-navg-toggle collapsed">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
        </div>
        <div class="page-body">
            
    <div class="m-auth auth-login">
        <div class="auth-slogan">用户注册</div>
        <div class="auth-form w-form">
            <form id="loginForm" action="/user/register" method="post" autocomplete="off">
                <div class="form-item">
                    <label class="w-text text-full text-x text-prefix">
                        <input class="text-input" type="text" name="username" placeholder="用户名">
                        <i class="text-icon icon-mail"></i>
                    </label>

                    <p class="w-fragment fragment-s"></p>
                </div>

                <div class="form-item">
                    <span class="w-text text-full text-x text-prefix">
                        <input class="text-input" type="text" name="phone" placeholder="手机号">
                        <i class="text-icon icon-head"></i>
                    </span>

                    <p class="w-fragment fragment-s fragment-tip"></p>
                </div>
                <div class="form-item">
                    <label class="w-text text-full text-x text-prefix">
                        <input class="text-input" type="password" name="passwd" placeholder="密码">
                        <i class="text-icon icon-lock"></i>
                    </label>

                    <p class="w-fragment fragment-s fragment-tip"></p>
                </div>
                <div class="form-item">
                    <label class="w-text text-full text-x text-prefix">班级类型：
                        <select class="form-control" name='cls_type'>
                          <option>python</option>
                          <option>linux</option>
                        </select>
                    </label>
                    <label class="w-text text-full text-x text-prefix">
                    班级号：
                        <select class="form-control" name='num'>
                          <option>1</option>
                          <option>2</option>
                          <option>3</option>
                          <option>4</option>
                          <option>5</option>
                          <option>6</option>
                          <option>7</option>
                        </select>
                    </label>
                </div>
                <div class="form-item">
                    <label class="w-btn btn-full btn-x btn-mild btn-success">
                        <button class="btn-input" type="submit">点击注册</button>
                    </label>
                </div>
            </form>
        </div>
        <div class="auth-other">
            <a class="w-link link-black" href="/user/login">已有帐号，点击登陆</a>

        </div>
        {% if result %}

            <div class="auth-other" style="padding-top: 10px;">
                {% if result['code'] != 0 %}
                    <div style="color: #a94442;background-color: #f2dede;border-color: #ebccd1;font-size:20px; ">
                {% else %}
                    <div style="color: #3c763d;background-color: #dff0d8;border-color: #d6e9c6;font-size:20px; ">
                {% endif %}
                   {{ result.message }}
                </div>
            </div>
        {% endif %}
    </div>

        </div>
    </div>
</div>

    <div class="m-foot">
        
            <div class="container">
    <div class="m-copyright">
        <div class="left-copyright">
            <p>© 2015-2016 京峰教育</p>

            <p>
                <a href="#">关于我们</a>&nbsp;·&nbsp;
                <a href="#">联系我们</a>&nbsp;·&nbsp;
                <a href="#">合作伙伴</a>&nbsp;·&nbsp;
                <a href="#">加入我们</a>&nbsp;·&nbsp;
                <a href="#">反馈建议</a>
            </p>
        </div>
        <div class="right-copyright">
            <a class="e-brand" href="/">
                <img height="30" src="http://www.jingfengjiaoyu.com/newindex/templets/jingfeng_319/picture/log.png" alt="京峰教育">
            </a>
        </div>
        <div class="clear"></div>
    </div>
</div>
        
    </div>
    
</body>
</html>